<?php

namespace App\Facades;

use App\Models\Train\Stations\TrainStation;
use Illuminate\Support\Facades\Facade;

/**
 * @method static nearestCode(string $longitude, string $latitude, int $distance = 10, string $unit = 'km')
 * @method static addGeo(string $longitude, string $latitude, string $station_code)
 * @method static addGeoByStation(TrainStation $station)
 * @method static delGeo(string $station_code)
 * @method static hasGeo(string $station_code)
 */
class StationsGeoFacade extends Facade
{
    static function getFacadeAccessor()
    {
        return 'station_geo';
    }
}